package com.misty.api.service;

import com.misty.common.bean.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cthulhu
 * @since 2022-11-21
 */
public interface FileService {

    Result<?> upload(MultipartFile file) throws IOException;

    void getFiles(String flag, HttpServletResponse response);
}
